import pickle
from genshin_elements import  ELEMENT_TYPE


elem_color = [(0, 255, 141),
              (255, 0, 0),
              (38, 217, 255),
              (188, 0, 255),
              (255, 196, 0),
              (0, 0, 255),
              (0, 210, 0),
              (100, 100, 100)]

custum_settings = {}
custum_settings['n_win_bg'] = 1
custum_settings['n_lose_bg'] = 1
custum_settings['page_size'] = (1920/1.5, 1080/1.5)
custum_settings['full_screen'] = False
custum_settings['difficulty'] = 5/7
custum_settings['num_per_circ'] = 12.5
custum_settings['version'] = u'原了个原 0.1'
custum_settings['curr_capa'] = [ELEMENT_TYPE.MOVO, ELEMENT_TYPE.SADA, ELEMENT_TYPE.NINI, ELEMENT_TYPE.GUSHA, ELEMENT_TYPE.TIME]
custum_settings['elem_color'] = elem_color
custum_settings['frame_rate'] = 6

# powers
custum_settings['powers_initial_activate'] = False
custum_settings['general_n_collect'] = 4
# movo
custum_settings['movo_power_num'] = 30
# gusha
custum_settings['gusha_n_collect'] = 3


with open('./resources/settings.pkl', 'wb') as fp:
    pickle.dump(custum_settings, fp)
